package com.itheima.sh.Homowok04;

public class Test {
    public static void main(String[] args) {
        Manager manager = new Manager("项目经理：锁哥", 123, 15000, 6000);
        ManagerOpen managerOpen = new ManagerOpen();
        managerOpen.service(manager);
        managerOpen.work();


        Coder coder = new Coder("程序猿：强哥", 135, 10000);
        CoderOpen coderOpen = new CoderOpen();
        coderOpen.service(coder);
        coderOpen.work();


//        managerOpen.service(manager);
//        coderOpen.service(coder);
//
//        managerOpen.work();
//        coderOpen.work();

    }
}
